//
//  YXSentinel.m
//  YXImageBrowserDemo
//
//  Created by guo peng huang on 2021/5/18.
//

#import "YXSentinel.h"
#import <libkern/OSAtomic.h>

@implementation YXSentinel {
    int32_t _value;
}

- (int32_t)value {
    return _value;
}

- (int32_t)increase {
    return OSAtomicIncrement32(&_value);
}


@end
